﻿using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

//namespace SourceStack
//{
//    public class ErrorFilter : IExceptionFilter
//    {
//        public void OnException(ExceptionContext context)
//        {
//            context.Result = new RedirectToPageResult("/Error");
//            throw new NotImplementedException();
//        }
//    }
//}
